package com.ruoyi.settled.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 product_order_cost
 * 
 * @author huangchen
 * @date 2025-03-14
 */
public class ProductOrderCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品核算编码，主键 */
    private Long productCostId;

    /** 外键，关联到销售订单成本核算表 */
    @Excel(name = "外键，关联到销售订单成本核算表")
    private Long costId;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String productCode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 仓储加工费 */
    @Excel(name = "仓储加工费")
    private BigDecimal storageProcessingFee;

    /** 仓储租金费用 */
    @Excel(name = "仓储租金费用")
    private BigDecimal storageRentalFee;

    /** 调拨单号 */
    @Excel(name = "调拨单号")
    private String transferOrderCode;

    /** 调拨运输费用 */
    @Excel(name = "调拨运输费用")
    private BigDecimal transferShippingCost;

    /** 采购单号 */
    @Excel(name = "采购单号")
    private String purchaseOrderCode;

    /** 采购成本 */
    @Excel(name = "采购成本")
    private BigDecimal purchaseCost;

    public void setProductCostId(Long productCostId) 
    {
        this.productCostId = productCostId;
    }

    public Long getProductCostId() 
    {
        return productCostId;
    }
    public void setCostId(Long costId) 
    {
        this.costId = costId;
    }

    public Long getCostId() 
    {
        return costId;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setStorageProcessingFee(BigDecimal storageProcessingFee) 
    {
        this.storageProcessingFee = storageProcessingFee;
    }

    public BigDecimal getStorageProcessingFee() 
    {
        return storageProcessingFee;
    }
    public void setStorageRentalFee(BigDecimal storageRentalFee) 
    {
        this.storageRentalFee = storageRentalFee;
    }

    public BigDecimal getStorageRentalFee() 
    {
        return storageRentalFee;
    }
    public void setTransferOrderCode(String transferOrderCode) 
    {
        this.transferOrderCode = transferOrderCode;
    }

    public String getTransferOrderCode() 
    {
        return transferOrderCode;
    }
    public void setTransferShippingCost(BigDecimal transferShippingCost) 
    {
        this.transferShippingCost = transferShippingCost;
    }

    public BigDecimal getTransferShippingCost() 
    {
        return transferShippingCost;
    }
    public void setPurchaseOrderCode(String purchaseOrderCode) 
    {
        this.purchaseOrderCode = purchaseOrderCode;
    }

    public String getPurchaseOrderCode() 
    {
        return purchaseOrderCode;
    }
    public void setPurchaseCost(BigDecimal purchaseCost) 
    {
        this.purchaseCost = purchaseCost;
    }

    public BigDecimal getPurchaseCost() 
    {
        return purchaseCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productCostId", getProductCostId())
            .append("costId", getCostId())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("storageProcessingFee", getStorageProcessingFee())
            .append("storageRentalFee", getStorageRentalFee())
            .append("transferOrderCode", getTransferOrderCode())
            .append("transferShippingCost", getTransferShippingCost())
            .append("purchaseOrderCode", getPurchaseOrderCode())
            .append("purchaseCost", getPurchaseCost())
            .toString();
    }
}
